
class ControlException(Exception):
    def __init__(self, *args, **kwargs):
        super(ControlException, self).__init__(*args, **kwargs)


class WebControlException(ControlException):
    def __init__(self, *args, **kwargs):
        super(WebControlException, self).__init__(*args, **kwargs)


class WebViewException(WebControlException):
    def __init__(self, *args, **kwargs):
        super(WebViewException, self).__init__(*args, **kwargs)


class WebViewDelegateException(WebViewException):
    def __init__(self, *args, **kwargs):
        super(WebViewDelegateException, self).__init__(*args, **kwargs)


class ElementNotFoundException(WebViewException):
    def __init__(self, message):
        #message = 'element %s not fount in view' % handler
        super(ElementNotFoundException, self).__init__(message)
